package com.vehicle.hxz.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vehicle.common.core.annotation.Excel;
import com.vehicle.common.core.web.domain.BaseEntity;

/**
 * 车辆的信息对象 vehicles
 *
 * @author 郝新泽
 * @date 2025-04-09
 */
public class Vehicles extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long vehicleId;

    /** 车辆品牌 */
    @Excel(name = "车辆品牌")
    private String brand;

    /** 车辆型号 */
    @Excel(name = "车辆型号")
    private String model;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String licensePlate;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String color;

    /** 车辆生产年份 */
    @Excel(name = "车辆生产年份")
    private Long year;

    /** 车辆座位数 */
    @Excel(name = "车辆座位数")
    private Long seats;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String type;

    /** 车辆图片 */
    @Excel(name = "车辆图片")
    private String imageObjectName;

    /** 标识 */
    @Excel(name = "标识")
    private Long tagId;

    /** 车辆标记信息 */
    private List<VehicleTags> vehicleTagsList;

    public void setVehicleId(Long vehicleId)
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId()
    {
        return vehicleId;
    }
    public void setBrand(String brand)
    {
        this.brand = brand;
    }

    public String getBrand()
    {
        return brand;
    }
    public void setModel(String model)
    {
        this.model = model;
    }

    public String getModel()
    {
        return model;
    }
    public void setLicensePlate(String licensePlate)
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate()
    {
        return licensePlate;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setYear(Long year)
    {
        this.year = year;
    }

    public Long getYear()
    {
        return year;
    }
    public void setSeats(Long seats)
    {
        this.seats = seats;
    }

    public Long getSeats()
    {
        return seats;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setImageObjectName(String imageObjectName)
    {
        this.imageObjectName = imageObjectName;
    }

    public String getImageObjectName()
    {
        return imageObjectName;
    }
    public void setTagId(Long tagId)
    {
        this.tagId = tagId;
    }

    public Long getTagId()
    {
        return tagId;
    }

    public List<VehicleTags> getVehicleTagsList()
    {
        return vehicleTagsList;
    }

    public void setVehicleTagsList(List<VehicleTags> vehicleTagsList)
    {
        this.vehicleTagsList = vehicleTagsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("vehicleId", getVehicleId())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("licensePlate", getLicensePlate())
            .append("color", getColor())
            .append("year", getYear())
            .append("seats", getSeats())
            .append("type", getType())
            .append("imageObjectName", getImageObjectName())
            .append("tagId", getTagId())
            .append("vehicleTagsList", getVehicleTagsList())
            .toString();
    }
}
